import Layout from '@/layout'

const placeRouter = {
  path: '/place',
  component: Layout,
  redirect: '/place/item',
  meta: {
    title: '地块',
    icon: 'place'
  },
  children: [{
    path: 'item',
    component: () =>
                import ('@/views/place/place-item'),
    name: 'PlaceItem',
    meta: { title: '地块条目', activeMenu: '/place' },
    hidden: true
  },
  {
    path: 'image',
    component: () =>
                import ('@/views/place/place-image'),
    name: 'PlaceImage',
    meta: { title: '地块图片', activeMenu: '/place' },
    hidden: true
  },
  {
    path: 'create',
    component: () =>
                import ('@/views/place/place-create'),
    name: 'PlaceCreate',
    meta: { title: '新建地块', activeMenu: '/place' },
    hidden: true
  }
  ]
}
export default placeRouter
